package com.loan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2024-09-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Apply implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 贷款申请表id
     */
    @TableId(value = "apply_id", type = IdType.AUTO)
    private Integer applyId;

    /**
     * 外键用户id
     */
    private Integer uid;

    /**
     * 默认0
未通过-1
审核中1
审核通过成功2
     */
    @TableField("borrowInfoStatus")
    private Integer borrowInfoStatus;

    /**
     * 签字
     */
    @TableField("resultImg")
    private String resultImg;

    /**
     * 身份证正面
     */
    @TableField("idCard1")
    private String idCard1;

    /**
     * 身份证反面
     */
    @TableField("idCard2")
    private String idCard2;

    /**
     * 营业执照
     */
    @TableField("idCard3")
    private String idCard3;


}
